<template>
  <div class="world">
    <head-nav></head-nav>
    <div class="loginBox">
      <div class="contentBox">
        <login-ele></login-ele>
        <third-login :showPopup="showPopup"></third-login>
      </div>
    </div>
  </div>
</template>

<script>
// 头部
import headNav from "../components/common/headTitle.vue";
// 登录组件
import loginEle from "../components/login/headNav.vue";
// 第三方登录
import thirdLogin from "../components/login/thirdLogin.vue";

export default {
  data() {
    return {
      title: "登录",
    };
  },
  methods: {
    // qq授权弹窗
    showPopup() {
      this.show = true;
    },
  },
  components: {
    headNav,
    loginEle,
    thirdLogin,
  },
};
</script>

<style lang="scss" scoped>
.world {
  width: 100%;
  height: 100%;
  .loginBox {
    // display: flex;
    // flex-direction: column;
    // justify-content: center;
    padding: 70px 27px 0;
    height: 100%;
    box-sizing: border-box;
  }
}
</style>
